﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BOMS.Model
{
    /// <summary>
    /// 实体类S_BatSubLog 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class S_BatSubLog
    {
        public S_BatSubLog()
        { }
        #region Model
        private long _logid;
        private int? _generation;
        private string _equipid;
        private string _batterygroup;
        private int _batteryid;
        private decimal? _vval;
        private decimal? _rval;
        private decimal? _tval;
        private decimal? _capacity;
        private string _status;
        private DateTime? _logtime;
        /// <summary>
        /// 自增主键
        /// </summary>
        public long LogID
        {
            set { _logid = value; }
            get { return _logid; }
        }
        /// <summary>
        /// 代别（1代机或2代机）
        /// </summary>
        public int? Generation
        {
            set { _generation = value; }
            get { return _generation; }
        }
        /// <summary>
        /// 设备Mac地址
        /// </summary>
        public string EquipID
        {
            set { _equipid = value; }
            get { return _equipid; }
        }
        /// <summary>
        /// 电池组
        /// </summary>
        public string BatteryGroup
        {
            set { _batterygroup = value; }
            get { return _batterygroup; }
        }
        /// <summary>
        /// 电池编号
        /// </summary>
        public int BatteryID
        {
            set { _batteryid = value; }
            get { return _batteryid; }
        }
        /// <summary>
        /// 电压值
        /// </summary>
        public decimal? Vval
        {
            set { _vval = value; }
            get { return _vval; }
        }
        /// <summary>
        /// 电流值
        /// </summary>
        public decimal? Rval
        {
            set { _rval = value; }
            get { return _rval; }
        }
        /// <summary>
        /// 温度值
        /// </summary>
        public decimal? Tval
        {
            set { _tval = value; }
            get { return _tval; }
        }
        /// <summary>
        /// 剩余容量
        /// </summary>
        public decimal? Capacity
        {
            set { _capacity = value; }
            get { return _capacity; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public string Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 日志创建时间
        /// </summary>
        public DateTime? LogTime
        {
            set { _logtime = value; }
            get { return _logtime; }
        }
        #endregion Model

    }
}
